<template>
	<view>
		<view class="bg-main">
			<view class="hed-main playc">
				<view class="bg-image">
					<image src="../../../../static/image/shopp.png"></image>
				</view>
				<view class="bg-cent">
					<view class="jk-tit">皖西大白鹅认养</view>
					<view class="btn-pri playc">
						<view class="pr-ui">￥<text>220</text></view>
						<view class="contyu playc">
							<view class="l-jiui l-ct">
								-
							</view>
							<view class="input">
								<input placeholder="1"/>
							</view>
							<view class="l-jiui l-frt">
								+
							</view>
						</view>
					</view>
				</view>
			</view>
			<view class="hjk-dff">
				<view class="hjk-dff-lst playc">
					<view>普通快递（运费预支）</view>
					<view>￥0</view>
				</view>
				<view class="hjk-dff-lst playc">
					<view>优惠券：</view>
					<view>暂无优惠券</view>
				</view>
				<view class="emes playc">
					<view>订单备注</view>
					<input placeholder="选填，填写前请与客服沟通"/>
				</view>
			</view>
		</view>
		<view class="bg-main">
			<view class="hjk-dff">
				<view class="hjk-dff-lst playc">
					<view>商品总额</view>
					<view>￥0</view>
				</view>
				<view class="hjk-dff-lst playc">
					<view>运费合计：</view>
					<view>￥0</view>
				</view>
				<view class="hjk-dff-lst playc">
					<view>优惠合计：</view>
					<view>-￥0</view>
				</view>
				<view class="hjk-dff-lst playc">
					<view></view>
					<view>合计：<text>￥220.00</text></view>
				</view>
			</view>
		</view>
		<view class="bg-main">
			<view class="hjk-dff">
				<view class="hjk-dff-lst playc" style="align-items: center;">
					<view>
						<view>余额支付</view>
						<view class="txtrt">账户余额：￥0</view>
					</view>
					<view>
						<image class="zhi-an" src="../../static/query.png"></image>
					</view>
				</view>
				<view class="hjk-dff-lst playc" style="align-items: center;">
					<view>
						<view>微信支付</view>
						<view class="txtrt">微信支付，安全快捷</view>
					</view>
					<view>
						<image class="zhi-an" src="../../static/bai.png"></image>
					</view>
				</view>
			</view>
		</view>
		<view class="lopo-btn">
			<view class="shi-f">实付款：<text>￥220.00</text></view>
			<view class="queryop" @click="zhifu">确认支付</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			zhifu(){
				uni.showModal({
					title: '提示',
					content: '你确定要使用余额支付吗？',
					confirmColor:'#FE9536',
					success: function (res) {
						if (res.confirm) {
							uni.navigateTo({
								url:"/pages/home-btn/pages/orderDetails/orderDetails"
							})
						} else if (res.cancel) {
							console.log('用户点击取消');
						}
					}
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
.playc{
	display: flex;
}
.bg-main{
	width: 95%;
	margin: 0 auto;
	background-color: #fff;
	margin-top: 25rpx;
	padding: 25rpx;
	border-radius: 16rpx;
	.hed-main{
		width: 100%;
		.bg-image{
			width: 34%;
			image{
				width: 208rpx;
				height: 208rpx;
			}
		}
		.bg-cent{
			width: 65%;
			.jk-tit{
				font-weight: 500;
				font-size: 36rpx;
				color: #333333;
			}
			.btn-pri{
				// align-items: center;
				justify-content: space-between;
				margin-top: 45rpx;
				.pr-ui{
					font-weight: bold;
					font-size: 31rpx;
					color: #FF0000;
					text{
						font-size: 47rpx;
					}
				}
				
			}
		}
	}
}
.contyu{
	width: 160rpx;
	height: 47rpx;
	background-color: #f4ead4;
	border-radius: 10rpx;
	.l-jiui{
		width: 30%;
		text-align: center;
		color: $main-color;
		line-height: 47rpx;
	}
	.input{
		width: 40%;
		height: 100%;
		text-align: center;
		input{
			width: 100%;
			height: 100%;
			font-weight: bold;
			font-size: 25rpx;
			color: #4D4D4D;
		}
	}
}
.l-frt:before {
  content: "|";
  float: left;
  color: #e4c5a1;
}
.l-ct:before {
  content: "|";
  float: right;
  color: #e4c5a1;
}
.hjk-dff{
	margin-top: 15rpx;
	font-weight: 400;
	font-size: 27rpx;
	color: #333333;
	.hjk-dff-lst{
		margin-top: 15rpx;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		text{
			color: #FF0000;
		}
	}
	.emes{
		border-top: 1px solid #ccc;
		padding-top: 20rpx;
		margin-top: 10rpx;
		input{
			color: #A6A6A6;
			font-size: 26rpx;
		}
	}
}
.txtrt{
	color: #A6A6A6;
}
.zhi-an{
	width: 33rpx;
	height: 33rpx;
}
.lopo-btn{
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
	height: 135rpx;
	background: #FFFFFF;
	box-shadow: 0rpx 0rpx 5rpx 0rpx #C3C3C3;
	position: fixed;
	bottom: 0;
	.shi-f{
		font-weight: bold;
		font-size: 26rpx;
		color: #282828;
		margin-left: 35rpx;
		text{
			font-size: 36rpx;
			color: #FF0000;
		}
	}
	.queryop{
		width: 273rpx;
		height: 80rpx;
		line-height: 80rpx;
		background: #FFA655;
		border-radius: 40rpx;
		text-align: center;
		font-size: 31rpx;
		color: #FFFFFF;
		font-weight: bold;
		margin-right: 35rpx;
	}
}
</style>
